<%@ Page Language="C#" MasterPageFile="~/SalesOneWeb.Master" AutoEventWireup="true" CodeBehind="AssignSuspects.aspx.cs" Inherits="IronOne.SalesOne.SalesOneWeb.ContactManagement.AssignSuspects" %>

<%@ Register src="../UserControls/UCGrid.ascx" tagname="UCGrid" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../StyleSheets/salesOne_txtstyle.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        
    </style>
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
        <table class="detailstable">
            <tr>
                <td>
                    Branch:</td>
                <td>
                    <asp:DropDownList ID="drpBranch" runat="server" AutoPostBack="True" 
                        onselectedindexchanged="drpBranch_SelectedIndexChanged" CssClass="ddl">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    Unit:</td>
                <td>
                    <asp:DropDownList ID="drpUnit" runat="server" 
                        onselectedindexchanged="DropDownList2_SelectedIndexChanged" 
                        AutoPostBack="True" CssClass="ddl">
                    </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ErrorMessage="RequiredFieldValidator" ControlToValidate="drpUnit">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    SO Code:</td>
                <td>
                    <asp:DropDownList ID="drpSoCode" runat="server" 
                        onselectedindexchanged="drpSoCode_SelectedIndexChanged" CssClass="ddl">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    &nbsp;</td>
            </tr>
            <tr>
                <td colspan="2">
                    <uc1:UCGrid ID="UCGrid1" runat="server" />
                </td>
            </tr>
            
            <tr>
                <td colspan="2">
                    <asp:Button ID="btnAssign" runat="server" onclick="btnAssign_Click" 
                         Text="Assign" onclientclick="validationSummery();" CssClass="btn" 
                        Visible="False" />
                </td>
            </tr>
        </table>
</asp:Content>